export const ROLE_LIST = {
  superadmin: 'superAdmin',
  orgadmin: 'orgAdmin',
  groupadmin: 'groupAdmin',
  groupuser: 'groupUser',
  secadmin: 'securityAdmin',
  secuser: 'securityUser',
  devadmin: 'devAdmin',
  devUser: 'devUser',
  opadmin: 'opAdmin',
  opuser: 'opUser',
  allManage: ['superAdmin', 'orgAdmin', 'groupAdmin', 'groupUser'],
  allSec: ['securityAdmin', 'securityUser'],
  allDev: ['devAdmin', 'devUser'],
  allOp: ['opAdmin', 'opUser'],
};

export const AUTH_LIST = {
  create_user: [
    ROLE_LIST.superadmin,
    ROLE_LIST.orgadmin,
    ROLE_LIST.groupadmin,
    ROLE_LIST.groupuser,
    ROLE_LIST.secadmin,
    ROLE_LIST.devadmin,
    ROLE_LIST.opadmin],
  subject_warningmsg: [...ROLE_LIST.allManage, ...ROLE_LIST.allSec]
};
